home *** CD-ROM | disk | FTP | other *** search
/ BigMax 6 / BigMax nº 6 [rebuilt].iso / DEMOS / FOFAO / DISCOS.DXR / 00066.ls < prev    next >
Encoding:
Text File  |  1996-11-20  |  2.2 KB  |  86 lines

  1. on mouseDown
  2.   d16()
  3. end
  4.  
  5. on rightMouseDown
  6.   d16()
  7. end
  8.  
  9. on d16
  10.   global x1, x2, h1, v1, musica, t1
  11.   set the puppet of sprite 8 to 1
  12.   set the locH of sprite 8 to 141
  13.   set the locV of sprite 8 to 189
  14.   set x1 to 8
  15.   set x2 to "22"
  16.   set musica to "Escravos de J├│"
  17.   repeat with d1 = 1 to 10
  18.     set the width of sprite x1 to t1 - d1
  19.     set the height of sprite x1 to t1 - (d1 * 8)
  20.     updateStage()
  21.   end repeat
  22.   set h1 to the locH of sprite x1
  23.   set v1 to the locV of sprite x1
  24. end
  25.  
  26. on mouseUp
  27.   discosVolta()
  28.   voltatamanho()
  29. end
  30.  
  31. on rightMouseUp
  32.   discosVolta()
  33.   voltatamanho()
  34. end
  35.  
  36. on voltatamanho
  37.   set the puppet of sprite 7 to 1
  38.   set the width of sprite 7 to 120
  39.   set the height of sprite 7 to 120
  40.   set the puppet of sprite 8 to 1
  41.   set the width of sprite 8 to 120
  42.   set the height of sprite 8 to 120
  43.   set the puppet of sprite 9 to 1
  44.   set the width of sprite 9 to 120
  45.   set the height of sprite 9 to 120
  46.   set the puppet of sprite 10 to 1
  47.   set the width of sprite 10 to 120
  48.   set the height of sprite 10 to 120
  49.   set the puppet of sprite 11 to 1
  50.   set the width of sprite 11 to 120
  51.   set the height of sprite 11 to 120
  52.   set the puppet of sprite 12 to 1
  53.   set the width of sprite 12 to 120
  54.   set the height of sprite 12 to 120
  55.   set the puppet of sprite 13 to 1
  56.   set the width of sprite 13 to 120
  57.   set the height of sprite 13 to 120
  58.   set the puppet of sprite 15 to 1
  59.   set the width of sprite 15 to 120
  60.   set the height of sprite 15 to 120
  61. end
  62.  
  63. on discosVolta
  64.   set the puppet of sprite 7 to 1
  65.   set the locH of sprite 7 to 72
  66.   set the locV of sprite 7 to 72
  67.   set the puppet of sprite 8 to 1
  68.   set the locH of sprite 8 to 141
  69.   set the locV of sprite 8 to 189
  70.   set the puppet of sprite 9 to 1
  71.   set the locH of sprite 9 to 202
  72.   set the locV of sprite 9 to 72
  73.   set the puppet of sprite 10 to 1
  74.   set the locH of sprite 10 to 270
  75.   set the locV of sprite 10 to 189
  76.   set the puppet of sprite 11 to 1
  77.   set the locH of sprite 11 to 333
  78.   set the locV of sprite 11 to 72
  79.   set the puppet of sprite 12 to 1
  80.   set the locH of sprite 12 to 404
  81.   set the locV of sprite 12 to 189
  82.   set the puppet of sprite 13 to 1
  83.   set the locH of sprite 13 to 468
  84.   set the locV of sprite 13 to 72
  85. end
  86.